package com.ruicar.afs.cloud.admin.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ruicar.afs.cloud.common.core.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * The type SysTenantInfo.
 * <p>
 * Created on 2019-03-19
 *
 * @author Fzero
 */
@Data
@TableName("sys_tenant_info")
@ApiModel(value = "租户信息")
public class SysTenantInfo extends BaseEntity<SysTenantInfo> {
	/**
	 * The Tenant id.
	 */
	@ApiModelProperty(value = "租户id")
	@NotBlank(message = "租户id不能为空")
	private String tenantId;
	/**
	 * The Tenant name.
	 */
	@NotBlank(message = "租户名称不能为空")
	@ApiModelProperty(value = "租户名称")
	private String tenantName;
	/**
	 * The Tenant status.
	 */
	@ApiModelProperty(value = "租户状态")
	private String tenantStatus;

}
